﻿namespace Anley.DomainDrivenDesign.Contract.Domain;

/// <summary>
/// 值对象抽象类
/// </summary>
public abstract class ValueObject
{
    /// <summary>
    /// 构造函数
    /// </summary>
    protected ValueObject()
    {
    }

    /// <summary>
    /// 获取原子值
    /// </summary>
    /// <returns></returns>
    public abstract IEnumerable<object> GetAtomicValues();
}